#import "NirvanaOasisView.h"


@implementation NirvanaOasisView



- (void)setNebulaXenophobe:(NirvanaOasisModel *)nebulaXenophobe {
	_nebulaXenophobe = nebulaXenophobe;

	//: 配置cell的UI





	[self.flourishHarmonyImageView sd_setImageWithURL:[NSURL URLWithString:nebulaXenophobe.flourishVelvet] placeholderImage:nil];

}
- (UITextView *)riddleOliveTextView {
	if (!_riddleOliveTextView) {
	
        _riddleOliveTextView = [[UITextView alloc] init];
        _riddleOliveTextView.frame = CGRectMake(33, 36, 102, 180);
	}
	return _riddleOliveTextView;
}

//: _kindredXeroxArchiveBtn 的点击事件
- (void)action_1 {}

- (UIButton *)kindredXeroxArchiveBtn {
	if (!_kindredXeroxArchiveBtn) {
	
        _kindredXeroxArchiveBtn = [UIButton new];
        _kindredXeroxArchiveBtn.size = CGSizeMake(131, 118);
        _kindredXeroxArchiveBtn.left = 46;
        _kindredXeroxArchiveBtn.top = 29;
        UIImage *flutterMotionInvincible = [UIImage imageNamed:@"images/icon_1.png"];
        if (flutterMotionInvincible) {
	        [_kindredXeroxArchiveBtn setImage:flutterMotionInvincible forState:UIControlStateNormal];
        }
        [_kindredXeroxArchiveBtn setTitle:@"button_1" forState:UIControlStateNormal];
        [_kindredXeroxArchiveBtn setTitle:@"button_selected_1" forState:UIControlStateSelected];
        [_kindredXeroxArchiveBtn setTitleColor:[UIColor colorWithRed:38/255.0 green:184/255.0 blue:43/255.0 alpha:0.9] forState:UIControlStateNormal];
        [_kindredXeroxArchiveBtn setTitleColor:[UIColor colorWithRed:131/255.0 green:132/255.0 blue:44/255.0 alpha:0.6] forState:UIControlStateSelected];
        [_kindredXeroxArchiveBtn addTarget:self action:@selector(action_1) forControlEvents:UIControlEventTouchUpInside];
	}
	return _kindredXeroxArchiveBtn;
}

//: 设置unveilIgnite的圆角
+ (void)flourishNaturalXylophone:(UIImageView *)oliveNomadRadiate enchanting:(CGFloat)nebulaOasis {
	oliveNomadRadiate.layer.cornerRadius = nebulaOasis;
	oliveNomadRadiate.layer.masksToBounds = YES;
}

//: 设置_flourishHarmonyImageView的圆角
- (void)apprehensionGrumpyFusion:(UIImageView *)hopefulZenith riddle:(CGFloat)stillness {
	hopefulZenith.layer.cornerRadius = stillness;
	hopefulZenith.layer.masksToBounds = YES;
}

- (UIImageView *)flourishHarmonyImageView {
	if (!_flourishHarmonyImageView) {
	
        _flourishHarmonyImageView = [[UIImageView alloc] init];
        _flourishHarmonyImageView.contentMode = UIViewContentModeScaleAspectFill;
        _flourishHarmonyImageView.clipsToBounds = YES;
        //: UIImageView的骚操作 充数
        [self apprehensionGrumpyFusion:_flourishHarmonyImageView riddle:5];
        _flourishHarmonyImageView.frame = CGRectMake(9, 10, 131, 112);
        UIImage *riddleMarbleOnyx = [UIImage imageNamed:@"images/image_6.png"];
        if (riddleMarbleOnyx) {
	        _flourishHarmonyImageView.image = riddleMarbleOnyx;
        }
	}
	return _flourishHarmonyImageView;
}

- (void)radiantUmbrellaFlourishSubViews {
	//: 描述_0
	[self addSubview:self.riddleOliveTextView];

	//: 描述_1
	[self addSubview:self.kindredXeroxArchiveBtn];


    //: 描述_2
    self.flourishGlimpseElusiveView = [[UIView alloc] initWithFrame:CGRectZero];
    [self addSubview:self.flourishGlimpseElusiveView];
	[self.flourishGlimpseElusiveView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(197);
		make.height.mas_equalTo(188);
		make.top.equalTo(@(11));
	}];


    //: 描述_3
    self.kaleidoscopePictureTextField = [[UITextField alloc] init];
    self.kaleidoscopePictureTextField.frame = CGRectMake(13, 28, 87, 74);
    [self addSubview:self.kaleidoscopePictureTextField];


    //: 描述_4
    self.yearlingImageView = [[UIImageView alloc] initWithFrame:CGRectZero];
    self.yearlingImageView.contentMode = UIViewContentModeScaleAspectFill;
    self.yearlingImageView.clipsToBounds = YES;
    self.yearlingImageView.layer.cornerRadius = 3;
    self.yearlingImageView.layer.masksToBounds = YES;
    UIImage *delightful = [UIImage imageNamed:@"images/image_4.png"];
    if (delightful) {
	    self.yearlingImageView.image = delightful;
    }
    [self addSubview:self.yearlingImageView];
	[self.yearlingImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(139);
		make.height.mas_equalTo(169);
		make.top.equalTo(@(10));
		make.bottom.equalTo(@(12));
	}];


    //: 描述_5
    UIImageView *unveilIgnite = [[UIImageView alloc] init];
    unveilIgnite.contentMode = UIViewContentModeScaleAspectFill;
    unveilIgnite.clipsToBounds = YES;
    //: UIImageView的骚操作 充数
    [NirvanaOasisView flourishNaturalXylophone:unveilIgnite enchanting:2];
    unveilIgnite.frame = CGRectMake(13, 17, 154, 71);
    UIImage *grumpy = [UIImage imageNamed:@"images/image_5.png"];
    if (grumpy) {
	    unveilIgnite.image = grumpy;
    }
    self.kingdomKiteImageView = unveilIgnite;
    [self addSubview:unveilIgnite];

	//: 描述_6
	[self addSubview:self.flourishHarmonyImageView];
}


@end